﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NLBS.Entity
{
    public class TrackBack
    {
        private int _id;

        public int ID
        {
            get { return _id; }
            set { _id = value; }
        }

        private int _logID;

        public int LogID
        {
            get { return _logID; }
            set { _logID = value; }
        }

        private Article _article;

        public Article Article
        {
            get
            {
                if (_article == null)
                {
                    _article = new Article();
                }
                return _article;
            }
            set { _article = value; }
        }

        private string _url;

        public string Url
        {
            get { return _url; }
            set { _url = value; }
        }

        private string _title;

        public string Title
        {
            get { return _title; }
            set { _title = value; }
        }

        private string _blogName;

        public string BlogName
        {
            get { return _blogName; }
            set { _blogName = value; }
        }

        private string _excerpt;

        public string Excerpt
        {
            get { return _excerpt; }
            set { _excerpt = value; }
        }

        private string _ip;

        public string IP
        {
            get { return _ip; }
            set { _ip = value; }
        }

        private DateTime _time;

        public DateTime Time
        {
            get { return _time; }
            set { _time = value; }
        }
    }
}
